from pyg2plot import Plot

data = []
set_options = {
  "appendPadding": 32,
  "percent": 0.25,
  "outline": {
    "border": 4,
    "distance": 4,
  },
  "wave": {
    "length": 128,
  },
}
def render_html(data="", set_options=set_options):
  if data == "":
    pass
  else:
    set_options['data'] = data
    
  liquid = Plot("Liquid")
  liquid.set_options(set_options)
  return liquid.render_html()

def example_params():
  return {'data':data,'set_options':set_options}

